package org.dsapr;

/**
 *  javac -d bin *.java & java -classpath ./bin main.ProgressBar
 *  java -jar /Users/dsapr/project/temp-game/target/temp-game-1.0-SNAPSHOT.jar
 *  java -DpWidth=80 -DpHeight=100  -jar target/game-of-life-1.0-SNAPSHOT.jar
 */
public class Main {
	public static void main(String[] args) {
		int a = 0x2616;
//		System.out.println(█▉);
//		System.out.println(Character.toChars(9608));
//		System.out.println("\u2588\u2588");

		for(int i = a - 9000; i < a + 10000; ++i) {
			char[] ch = Character.toChars(i);
			String s1 = new String(ch);
			System.out.print(s1+" ");
		}

//		System.out.println(Ansi.ansi().eraseScreen().fgRgb(188, 232, 105).a(Ansi.Attribute.UNDERLINE).a("Hello").bg(Ansi.Color.GREEN).fgRgb(189, 233, 105).a(Ansi.Attribute.UNDERLINE_OFF).a("World").reset());
//
//		for(int i = 0; i < 3; ++i) {
//			ThreadUtil.sleep(1000L);
//			System.out.println(Ansi.ansi().cursor(0, 0).a(i).reset());
//		}
//
		Game game = new Game();
		game.play();
	}
}
